import ChatView from './index.vue';

function install(Vue) {
  if (install.installed) return;
  install.installed = true;
  if (Vue && Vue.component) {
    Vue.component('ChatView', ChatView);
  }
}

let GlobalVue = null;
if (typeof window !== 'undefined') {
  GlobalVue = window.Vue;
} else if (typeof global !== 'undefined') {
  GlobalVue = global.Vue;
}
if (GlobalVue) {
  GlobalVue.use({ install });
}

export { install };
export default ChatView;



